package com.servitware.cardio.domain.transport;

public class RESTOperationResult
{
	public static final Integer OK = new Integer(0);
	public static final Integer NOK = new Integer(-1);
	
	private Integer result = null;
	
	public RESTOperationResult()
	{
		result = OK;
	}

	public RESTOperationResult(Integer any)
	{
		result = NOK;
	}

	public Integer getResult()
	{
		return result;
	}

	public final void setResultOK()
	{
		this.result = OK;
	}
	
	public final void setResultNOK()
	{
		this.result = NOK;
	}
	
	
}
